
import { adminRoutes } from './modules/admin.config';
export const constantRoutes = [
    {
        path: '/',
        component: () => import('@/layout/index'),
        children: [
            {
                path: '/admin',
                component: { render: h => h('router-view') },
                children: adminRoutes
            }
        ]
    },
    {
        path: '/login',
        name: 'login',
        meta: {
        },
        component: () => import('@/views/admins/login')
    },
    {
        path: '/404',
        component: () => import(/* webpackChunkName: "exception" */ '@/views/admins/exception/404')
    },
    {
        path: '*', redirect: '/404', hidden: true
    }
]
